Socket
Socket
Sign inDemoInstall

no-case

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

no-case

Transform any case string into a lower case string with a space between each word


Version published
Weekly downloads
20M
decreased by-3.11%
Maintainers
1
Weekly downloads
 
Created

What is no-case?

The no-case npm package is a utility for converting strings to lower case with spaces between words. It is useful for transforming strings into a more readable format, especially for user interfaces or data processing.

What are no-case's main functionalities?

Convert camelCase to no-case

This feature converts a camelCase string into a no-case string, where words are separated by spaces and all letters are in lower case.

const noCase = require('no-case');
const result = noCase('camelCaseString');
console.log(result); // Output: 'camel case string'

Convert snake_case to no-case

This feature converts a snake_case string into a no-case string, where underscores are replaced by spaces and all letters are in lower case.

const noCase = require('no-case');
const result = noCase('snake_case_string');
console.log(result); // Output: 'snake case string'

Convert kebab-case to no-case

This feature converts a kebab-case string into a no-case string, where hyphens are replaced by spaces and all letters are in lower case.

const noCase = require('no-case');
const result = noCase('kebab-case-string');
console.log(result); // Output: 'kebab case string'

Other packages similar to no-case

Keywords

FAQs

Package last updated on 30 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc